package com.xyyl.patient.entity.question;

import java.math.BigDecimal;
import java.util.List;

/**
 * @projectName:xyyl-patient-service
 * @ClassName: Prescription
 * @Description: 处方信息
 * @author chengjun
 * @date 2017年8月18日
 *
 */
public class Prescription {
    private Integer id;

    private Integer age;

    private String autograph;

    private String height;

    private String name;

    private String phoneordersn;

    private Integer sex;

    private String weight;

    private Integer doctoruserId;

    private Integer patientuserId;

    private String createtime;

    private String ordersn;

    private Integer ordertype;

    private Integer isbuy;

    private String diagnosis;

    private String prescriptionCode;

    private String rqcodePath;

    private String barcodePath;

    private BigDecimal prescriptionPrice;
    private BigDecimal totlmoney;

    private String distance;

    private String told;

    private  String doctorName;

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public BigDecimal getTotlmoney() {
        return totlmoney;
    }

    public void setTotlmoney(BigDecimal totlmoney) {
        this.totlmoney = totlmoney;
    }

    public String getTold() {
		return told;
	}

	public void setTold(String told) {
		this.told = told;
	}

	/*附属查询字段*/
    private List<PrescriptionDetail> prescriptionDetailList;

    public List<PrescriptionDetail> getPrescriptionDetailList() {
        return prescriptionDetailList;
    }

    public void setPrescriptionDetailList(List<PrescriptionDetail> prescriptionDetailList) {
        this.prescriptionDetailList = prescriptionDetailList;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getPrescriptionCode() {
        return prescriptionCode;
    }

    public void setPrescriptionCode(String prescriptionCode) {
        this.prescriptionCode = prescriptionCode;
    }

    public String getRqcodePath() {
        return rqcodePath;
    }

    public void setRqcodePath(String rqcodePath) {
        this.rqcodePath = rqcodePath;
    }

    public String getBarcodePath() {
        return barcodePath;
    }

    public void setBarcodePath(String barcodePath) {
        this.barcodePath = barcodePath;
    }

    public BigDecimal getPrescriptionPrice() {
        return prescriptionPrice;
    }

    public void setPrescriptionPrice(BigDecimal prescriptionPrice) {
        this.prescriptionPrice = prescriptionPrice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAutograph() {
        return autograph;
    }

    public void setAutograph(String autograph) {
        this.autograph = autograph == null ? null : autograph.trim();
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height == null ? null : height.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhoneordersn() {
        return phoneordersn;
    }

    public void setPhoneordersn(String phoneordersn) {
        this.phoneordersn = phoneordersn == null ? null : phoneordersn.trim();
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight == null ? null : weight.trim();
    }

    public Integer getDoctoruserId() {
        return doctoruserId;
    }

    public void setDoctoruserId(Integer doctoruserId) {
        this.doctoruserId = doctoruserId;
    }

    public Integer getPatientuserId() {
        return patientuserId;
    }

    public void setPatientuserId(Integer patientuserId) {
        this.patientuserId = patientuserId;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime == null ? null : createtime.trim();
    }

    public String getOrdersn() {
        return ordersn;
    }

    public void setOrdersn(String ordersn) {
        this.ordersn = ordersn == null ? null : ordersn.trim();
    }

    public Integer getOrdertype() {
        return ordertype;
    }

    public void setOrdertype(Integer ordertype) {
        this.ordertype = ordertype;
    }

    public Integer getIsbuy() {
        return isbuy;
    }

    public void setIsbuy(Integer isbuy) {
        this.isbuy = isbuy;
    }

    public String getDiagnosis() {
        return diagnosis;
    }

    public void setDiagnosis(String diagnosis) {
        this.diagnosis = diagnosis == null ? null : diagnosis.trim();
    }
}